-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Select): add OnOpenChange options #1917
base: main
Are you sure you want to change the base?
Conversation
I think I've figured out what you need. Do you want to close the selector when selecting an option in multiple mode? |
onOpenChange triggers after popup closing, in my case a want to leave popup open |
@angryermine Yep, I got it. I've edited my message |
yep |
@angryermine Got it. You can handle |
this results in a blink behaviour in a single selection mode i have two cases:
it's the same as in Select2 (https://select2.org/dropdown#forcing-the-dropdown-to-remain-open-after-selection) |
@angryermine I'll try to write some demo code in sandbox a little bit later |
@angryermine About your cases:
Would it work for you? PS: you can add the second argument in this PR |
8b3bc5a
to
717deb1
Compare
looks like what i've been looking for
done, but i'm not sure about default value |
@angryermine What about default value? |
Preview is ready. |
Visual Tests Report is ready. |
it's not obvious to me :) |
No description provided.